function myModule(){
    var msg = "AA BB CC DD　"
    //操作数据的函数
    function doSomething() {
        console.log("doSomething一个方法"+ msg.toLocaleLowerCase())
    }

    function doOtherthing() {
        console.log("doOtherthing一个方法"+ msg.toUpperCase())
    }
    //向外抛出
    return {
        doSomething:doSomething,
        doOtherthing:doOtherthing
    }
}